<div class="payment-modal" id="paymentModal">
	<div class="payment-content">
		<div class="payment-header">
			<div class="payment-title">选择支付方式</div>
			<div class="close-btn" style="top:-2vh;color:#fff;right:-2vh;background: #999;" onclick="hidePaymentModal()">
				<i class="fa fa-times"></i>
			</div>
		</div>
		<div class="payment-amount">
			<span class="amount-label">支付金额：</span>
			<span class="amount-value">¥<span id="paymentAmount">{$data.money}</span></span>
			<input type="hidden" id="amount" name="amount" value="{$data.amount}">
			<input type="hidden" id="goods_name" name="goods_name" value="{$data.goods_name}">
			<input type="hidden" id="num" name="num" value="{$data.num}">
			<input type="hidden" id="note" name="note" value="{$data.note}">
			<input type="hidden" id="sign" name="sign" value="{$data.sign}">
			<input type="hidden" id="userid" name="userid" value="{$data.uid}">
		</div>
		<div class="payment-methods">
			{if condition="$is_weixin"}
				<div class="payment-method selected" onclick="selectPaymentMethod('2')">
					<i class="fa fa-weixin"></i>
					<span>微信支付</span>
					<i class="fa fa-check-circle"></i>
				</div>
			{else /}
				<div class="payment-method selected" onclick="selectPaymentMethod('1')">
					<i class="fa fa-alipay"><img src="/static/images/fa-alipay.png" ></i>
					<span>支付宝</span>
					<i class="fa fa-check-circle"></i>
				</div>
				<div class="payment-method" onclick="selectPaymentMethod('2')">
					<i class="fa fa-weixin"></i>
					<span>微信支付</span>
					<i class="fa fa-check-circle"></i>
				</div>
			{/if}

		</div>
		<button class="btn-payment" onclick="confirmPayment()">确认支付</button>
	</div>
</div>